﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/PBOAMasterPage.master" AutoEventWireup="true" CodeFile="position.aspx.cs" Inherits="position" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link type="text/css" rel="Stylesheet" href="../css/HR.css" />
<title>岗位管理</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <uc:Navigator ID="Navigator1" Text="岗位管理" runat="server" />  
<div>
    <div id="Main">
            <asp:Panel ID="Panel1" runat="server" CssClass="DepLeft">
                <asp:TreeView ID="tv" runat="server" ImageSet="Simple" NodeIndent="10" 
                    onselectednodechanged="tvDep_SelectedNodeChanged" Height="400px" 
                    Width="198px">
                    <HoverNodeStyle Font-Underline="True" ForeColor="#DD5555" />
                    <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="0px"
                        NodeSpacing="0px" VerticalPadding="0px" />
                    <ParentNodeStyle Font-Bold="False" />
                    <SelectedNodeStyle Font-Underline="True" ForeColor="#DD5555" HorizontalPadding="0px"
                        VerticalPadding="0px" />
                </asp:TreeView>
            </asp:Panel>
            <asp:Panel ID="Panel2" runat="server" CssClass="DepRight"><br />
             <abbr style="float:left;">职位名称：</abbr>
                <asp:TextBox ID="txtPosition" runat="server" Height="19px"></asp:TextBox>&nbsp;
                <asp:Button ID="btnSearch" runat="server" Text="搜索" CssClass="ButtonImage" 
                    onclick="btnSearch_Click" />&nbsp;<asp:Button ID="btnAdd" runat="server" 
                    Text="添加" CssClass="ButtonImage" onclick="btnAdd_Click" /><br /><br />
                <asp:GridView ID="gvPosition" runat="server" CellPadding="4" 
                    CssClass="GridView" ForeColor="#333333" GridLines="None" 
                    AutoGenerateColumns="False" Font-Size="14px" Height="174px" Width="390px">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="PosNo" HeaderText="职位编号" Visible="False" >
                        <HeaderStyle Height="30px" />
                        <ItemStyle Height="30px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PosId" HeaderText="职位名称">
                        <HeaderStyle Height="30px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Height="30px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="DepId" HeaderText="部门名称">
                        <HeaderStyle Height="30px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Height="30px" />
                        </asp:BoundField>
                        <asp:CommandField HeaderText="操作" ShowEditButton="True" ShowDeleteButton="True">
                        <HeaderStyle Height="30px" />
                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="14px" 
                            ForeColor="Blue" Height="30px" />
                        </asp:CommandField>
                    </Columns>
                    <EditRowStyle BackColor="#2461BF" />
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <RowStyle BackColor="#EFF3FB" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <SortedAscendingCellStyle BackColor="#F5F7FB" />
                    <SortedAscendingHeaderStyle BackColor="#6D95E1" />
                    <SortedDescendingCellStyle BackColor="#E9EBEF" />
                    <SortedDescendingHeaderStyle BackColor="#4870BE" />
                </asp:GridView>

            </asp:Panel>
    </div>
    </div>
</asp:Content>

